// Copyright (c) Appeon. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. 
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

using System;
using System.Data;

namespace SnapObjects.Data
{
    /// <summary>
    ///     Represents the SQL parameter object which is used to build SQL with the SqlBuilder object.
    /// </summary>
    public interface ISqlParameter
    {
        /// <summary>
        ///     Gets the name of the parameter.
        /// </summary>
        string Name { get; }

        /// <summary>
        ///     Gets the data type of the parameter.
        /// </summary>
        Type DataType { get; }

        /// <summary>
        ///     Gets the direction type of the parameter.
        /// </summary>
        ParameterDirection Direction { get; }
    }
}
